import React from 'react';
import { connect } from 'react-redux';
import MyCustomer from '../components/Home/MyCustomer';

class myCustomerListContainer extends React.Component {
  render() {
    return (
      <MyCustomer {...this.props} />
    );
  }
}

export default connect((state) => {
  const { myCustomerData, myCustomerListCount, myIsLoading, myIsLoadMore } =
  state.saleChanceReducer;
  const { FilterObjMy } = state.SaleChanceFilterReducer;
  return {
    myCustomerData,
    myCustomerListCount,
    myIsLoading,
    myIsLoadMore,
    FilterObjMy,
  };
})(myCustomerListContainer);
